package com.ycsj.goldmedalnewconcept.bean;

public class TeacherVideoArray implements Comparable<TeacherVideoArray>{
	public String row_id;
	public String picture_url;
	public String status;
	public String tag;
	public double score;
	public String type;
	public String school_id;
	public String url;
	public String title;
	public String create_date;
	public int play_times;
	public String update_date;
	public String role;
	public String user_id;
	@Override
	public int compareTo(TeacherVideoArray o) {
		
		 int i = o.play_times - this.play_times;//先播放量排序  
	        if(i == 0){  
//	            return o.score - this.score;//如果播放量相等了再用人气进行排序  
	        }  
	        return i;
	}
}